package com.sky.blog.dao.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author sky  2022/3/26
 * @version 1.0
 */
@Data
@Component("defaultBlogSite")
@ConfigurationProperties(prefix = "blog.site.default")
public class BlogSiteVo {
    @ApiModelProperty(name = "头像文件名", example = "xxx/xxx.jpg")
    private String avatar;

    @ApiModelProperty(name = "简介", example = "...")
    private String slogan;

    @ApiModelProperty(name = "博主通知", example = "...")
    private List<String> notices;

}
